﻿using System;          
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using TX.Core.Data;

namespace TX.Passport.QueryModels
{
    /// <summary>
    /// 职位查询对象
    /// </summary>
    public class PositionQuery : CommonPageQueryModel
    {
        #region 属性
        
        /// <summary>
        /// 
        /// </summary>
        private string _name = string.Empty; 
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="")]
        public string Name {
            get { return _name == null ? string.Empty : _name.Trim(); }
            set{ _name=value;}
        }
        
        /// <summary>
        /// 
        /// </summary>
        [Display(Name="")]
        public System.Guid? DepartmentId { get; set; }
        
        /// <summary>
        /// 部门
        /// </summary>
        public TX.Passport.Models.DepartmentQuery Department { get;set;}
        #endregion
        
    }
}
